#include <allegro.h>
#include "deplacement.h"
#include "menu.h" 
int main()
{

int *numMap,*CarColor1,*CarColor2;

allegro_init();
if (install_keyboard() == -1) {
allegro_message("Error! %s", allegro_error);
return -1;
}
set_color_depth(16);
if (set_gfx_mode(GFX_AUTODETECT_WINDOWED,1213,825, 0, 0) != 0) {
set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); /* commande du mode text*/
allegro_message("Unable to initialize video mode!\n%s\n", allegro_error);
return 1;
}

install_sound(DIGI_AUTODETECT, MIDI_NONE, NULL);

Menu(&numMap,&CarColor1,&CarColor2);
//ready();
course(CarColor1,CarColor2,numMap);

return 0;

}
